home *** CD-ROM | disk | FTP | other *** search
/ QRZ! Ham Radio 4 / QRZ Ham Radio Callsign Database - Volume 4.iso / files / packet / terminal / ad16dis.exe / ZAPDB.BAT < prev   
DOS Batch File  |  1988-11-06  |  702b  |  24 lines

  1. rem This batch file will copy all database files to files with filename
  2. rem specified in the first argument, and then erase the standard database
  3. rem files. The argument MUST be specified as filename without extension.
  4. rem
  5. if "%1" == "" goto where?
  6. copy aresdata.dat %1.dat
  7. copy f1index.ndx %1.in1
  8. copy f2index.ndx %1.in2
  9. copy f3index.ndx %1.in3
  10. copy f4index.ndx %1.in4
  11. copy aresdata.jrn %1.jrn
  12. erase *.bak
  13. erase aresdata.dat
  14. erase f1index.ndx
  15. erase f2index.ndx
  16. erase f3index.ndx
  17. erase f4index.ndx
  18. erase aresdata.jrn
  19. rem ARES/Data database and index files have now been saved and reset.
  20. goto endit
  21. :where?
  22. rem You must enter a filename (no extension) for the argument!!!
  23. :endit
  24.